package com.lucene.handle;

import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import com.lucene.model.GroupMessage;
import com.lucene.model.UserMessage;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by zhangzhen on 09/10/2017.
 */
public class LuceneMessageHander implements MessageHandle{

    private static final Logger log = LoggerFactory.getLogger(LuceneMessageHander.class);

    @Override
    public void wxSync(JsonObject msg) {

    }

    @Override
    public void userMessage(UserMessage userMessage) {
        log.info("[*] userMessage");
    }

    @Override
    public void groupMessage(GroupMessage groupMessage) {
        log.info("[*] groupMessage");
    }

    @Override
    public void groupMemberChange(String groupId, JsonArray memberList) {
        log.info("[*] groupMemberChange");
    }

    @Override
    public void groupListChange(String groupId, JsonArray memberList) {
        log.info("[*] groupListChange");
    }
}
